<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="keywords" content="University of North Carolina at Wilmington, Center for Support of Undergraduate Research and Teaching, undergrad, research, teaching, CSURF">
<meta name="description" content="Regional Coastal Ocean Observing System RCOOS">
<meta http-equiv="refresh" content="1800">
<title>RCOOS</title>
</head>

<!-- Google Analytics traffic tracking script -->
<?php
$var_referer=$_SERVER['HTTP_REFERER']; //referer url

$http_user_agent=$_SERVER['HTTP_USER_AGENT'];
$http_user_agent=preg_replace('/\s+/','_',$http_user_agent); //replace spaces
$http_user_agent=preg_replace('/;/','_',$http_user_agent); //replace semicolons - problematic for javascript ?

$var_uservar='ip='.$_SERVER['REMOTE_ADDR'].'&agent='.$http_user_agent; //enter your own user defined variable
?>

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-3867608-4");
pageTracker._trackPageview();
pageTracker._setVar("<? echo $var_uservar ?>");
</script>


<body>

